package com.wkbb.sports.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

//大厅数据
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class StudentOnlineHall implements Serializable {
    @ApiModelProperty(value = "编号")
    private Long id;
    @ApiModelProperty(value = "学生编号")
    private Long studentId;
    @ApiModelProperty(value = "学生姓名")
    private String studentName;
    @ApiModelProperty(value = "头像")
    private String headImgUrl;
    @ApiModelProperty(value = "跳绳速度平均记录（/分钟）")
    private Integer avgAMinuteCount;
    @ApiModelProperty(value = "经度")
    private Double longitude;
    @ApiModelProperty(value = "纬度")
    private Double latitude;
    @ApiModelProperty(value = "状态 0：离线 1大厅 2房间内 3匹配中")
    private Integer state;
    @ApiModelProperty(value = "状态 0：全部 1附近 2房间")
    private Integer type;

    @ApiModelProperty(value = "距离（km）")
    private Double distance;

    @ApiModelProperty(value = "房间号")
    private Long roomId;
    @ApiModelProperty(value = "状态 0：未准备 1：已准备 2：观战")
    private Integer roomState;

    @ApiModelProperty(value = "")
    private boolean isRobot = false;
}